package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import com.atguigu.jxc.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {

    List<Supplier> getSupplierList(@Param("offSet") int offSet, @Param("rows") Integer rows, @Param("supplierName") String supplierName);

    Integer getSupplierCount(@Param("supplierName") String supplierName);

    void addSupplier( Supplier supplier);

    void updateSupplierById(Supplier supplier);


    void deleteSupplier(@Param("arrays") String[] arrays);

}
